package com.longcai.utils.fuyoupay;

public class PaymentSendPost {

    /**
     * http的测试类
     *
     * @return
     */
    public String post(String url, String req) {
        FuiouHttpPoster post = new FuiouHttpPoster();
        post.setCharset("utf-8");
        post.setUrl(url);
        String jsonStr = null;
        try {
            jsonStr = post.newPost(req);
        } catch (Exception e) {
            e.printStackTrace();
        }
        return jsonStr;
    }
}
